package net.wangds.auth.module;

import net.wangds.data.OrderWeight;
import net.wangds.data.Tree;
import net.wangds.data.WithIdAndCreatInfo;

import java.util.List;

public interface Job extends WithIdAndCreatInfo<String>, Tree<String, Job>, OrderWeight, GrantTarget, GrantOwner {
    String getJobName();

    void setJobName(String jobName);

    String getJobDesc();

    void setJobDesc(String jobDesc);

    String getParentId();

    void setParentId(String parentJobId);

    List<Job> getChildren();

    void setChildren(List<Job> children);

    String getDepartmentId();

    void setDepartmentId(String departmentId);

    List<Grant> getPrivileges();

    void setPrivileges(List<Grant> privileges);

    String getDepartmentName();

    void setDepartmentName(String departmentName);
}
